extends StateBase

var battleField:BattleField = null

func enter():
	battleField = ownerNode as BattleField
	battleField.cursor.visible = false
	battleField.battleCommandPanel.setOption(battleField.getUnitCommandOptions(battleField.currentSelectedHero))
	battleField.battleCommandPanel.showPanel()
	

func exit():
	pass


func run(delta):
	battleField.processCancelCommand()
	

	
	
	
	
